@font-face {
    font-family: font;
    src: url(../Vazir/Vazir-Bold-FD.ttf);
}
html,body{
width: 100%;
height: auto;
float: left;
margin: 0;
padding: 0;   
direction: rtl;
}
body *{
    font-family: font;
}
body{
    background-color: #f7f7f75c !important;
}
a{
    text-decoration: none;
}
.m-product-row{
    width: 90%;
    height: auto;
    float: left;
    display: flex;
    margin: 1em 5%;
    flex-direction: column;
}
.m-tab-sec{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    padding: 0;
    margin: 0;
}
.m-tab-sec li{
    width: 35%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.09);
    background-color: #f5f5f5;
    color: rgb(57, 57, 57);
    font-size: 20px;
    text-align: center;
    padding: 1em;
    box-sizing: border-box;
    cursor: pointer;
}
.m-pr-container{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /* border: 1px solid rgba(0,0,0,0.09); */
    background-color: white;
    padding: 2em;
}

.m-product-description{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
}
.m-product-description p{
    width: 100%;
    height: auto;
    float: left;
    line-height: 35px;
    text-align: justify;
}
.m-product-info{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    line-height: 32px;
}
.m-info-ele{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    margin-bottom: 1em;
}
.m-info-ele span{
    width: 14em;
    height: auto;
    float: left;
    color: rgb(0, 94, 202);
}
.m-info-ele p{
    width: 80%;
    height: auto;
    float: left;
    margin: 0;
    border-bottom: 1px solid rgba(0,0,0,0.09);
    padding-bottom: 1em;
}
.m-product-comment{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: flex-start;
}
.m-comment-form{
    width: 49%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    padding: 1em;
    box-sizing: border-box;
    border: 1px solid rgb(80 106 173 / 38%);
    margin-left: 1%;
    border-radius: 10px;
    position: sticky;
    top: 7em;
}
.m-comment-header{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    padding-bottom: 1em;
    margin-bottom: 1.5em;
    border-bottom: 1px solid rgb(80 106 173 / 38%);

}
.m-comment-header h3{
    margin: 0;
    float: left;
    box-sizing: border-box;
    font-size: 25px;
}
.m-comment-header p{
    margin-bottom: 0;
    margin-top: 10px;
    color: rgba(0, 0, 0, 0.411);
    font-size: 14px;
}
.m-comment-box{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
}
.m-comment-box input:first-child{
    margin-left: 1em;
}
.m-comment-box{
    margin-bottom: 2em;
}
.m-comment-form :where(input,textarea){
    width: 100%;
    height: auto;
    float: left;
    background-color: transparent;
    border: 1px solid rgba(0,0,0,0.09);
    outline: none;
    padding: 0.6em 1em;
    box-sizing: border-box;
    font-size: 15px;
    border-radius: 5px;
}
.m-comment-form :where(input,textarea)::placeholder{
    color: rgba(0, 0, 0, 0.211);
}
.m-comment-form textarea{
    margin-bottom: 2em;
}
.stars-container{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}
.stars-container li{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}
.star-5{
    margin: 0 !important;
}
.score-star{
    width: fit-content;
    text-decoration: none;
    float: left;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: gold;
    font-size: 23px;
    /* margin-left: 0.3em; */
    border: none;
    background-color: transparent;
}
.score-star .fa-star{
    position: absolute;
    opacity: 0;
}
.score-sec{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    margin-bottom: 2em;
}
.stars{
    color: gold;
    font-size: 17px !important;
    margin-right: 0.3em;
    text-decoration: none;
}
.m-send-btn{
    width: fit-content;
    float: left;
    border: 1.5px solid rgb(0, 94, 202);
    border-radius: 10px;
    background-color: rgb(0, 94, 202);
    color: white;
    padding: 0.5em 3em;
    transition: 0.4s;
    cursor: pointer;
    box-sizing: border-box;
}
.m-send-btn:hover {
    color: rgb(0, 94, 202);
    background-color: rgb(231, 243, 255);
    transition: 0.4s;
}
.m-coment-sec{
    width: 49%;
    height: auto;
    float: left;
    display: flex;
    border: 1px solid rgb(80 106 173 / 38%);
    padding: 1em;
    box-sizing: border-box;
    margin-right: 1%;
    border-radius: 10px;
    align-items: flex-start;
    flex-direction: column;
}
.m-coment-ele{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(0,0,0,0.09);
    margin-bottom: 2em;
    padding-bottom: 2em;
}
.m-coment-ele:last-child{
    border: none;
}
.m-coment-header{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
}
.m-coment-info{
    width: 50%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
}
.m-coment-info img{
    width: 50px;
    height: 50px;
    float: left;
    border-radius: 100px;
    overflow: hidden;
    border: 2px solid rgb(80 106 173 / 38%);
    box-sizing: border-box;
    aspect-ratio: 3/2;
}
.m-user-info{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    margin-right: 0.6em;
}
.m-user-info h4{
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 5px;
}
.m-user-info span{
    font-size: 13px;
    color: rgb(0, 94, 202);
}
.m-comment-rate{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    justify-content: end;

}
.m-comment-rate li{
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.2em;
}
.m-comment-rate i{
    color: gold;
    text-shadow: 0 0 2px #0000007d;
    font-size: 17px;
}
.m-comment-rate .fa-star{
    position: absolute;
    z-index: 1;
    opacity: 0;
}
.m-active-star{
    opacity: 1 !important;
}
.m-comment-score{
    width: 50%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
}
.m-comment-text{
    width: 100%;
    height: auto;
    float: left;
    line-height: 35px;
    text-align: justify;
    font-size: 14px;
    margin-bottom: 0;
    color: rgb(0 0 0 / 50%);
}
.active-tab{
    color: rgb(0, 94, 202) !important;
    border-color: rgb(0, 94, 202) !important;
    background-color: white !important;
}
.m-product-info,.m-product-comment{
    display: none;
}
@media (max-width: 1000px) {
    .m-product-comment{
        flex-direction: column;
    }
    .m-comment-form{
        width: 100%;
        margin: 0;
        margin-bottom: 2em;
        position: unset;
    }
    .m-coment-sec {
        width: 100%;
        margin: 0;
    }
}
@media (max-width: 550px) {
    :is(.m-product-description,.m-comment-header) p,.m-info-ele,.m-comment-form :where(input,textarea),.m-comment-text{
        font-size: 13px;
    }
    .m-comment-box {
        flex-direction: column;
    }
    input:first-child {
        margin-left: 0;
        margin-bottom: 2em;
    }
    .m-pr-container{
        padding: 1em;
    }
    .m-comment-header h3 {
        font-size: 20px;
    }
    .m-comment-form textarea {
        height: 8em;
    }
    .m-send-btn {
        align-self: center;
    }
    .score-star {
        font-size: 20px;
    }
    .score-sec {
        justify-content: center;
    }
    .m-coment-header {
        flex-direction: column;
    }
    .m-coment-info,.m-comment-score {
        width: 100%;
    }
    .m-coment-info{
        margin-bottom: 0.5em;
    }
    .m-comment-rate {
        justify-content: flex-start;
    }
    .m-coment-ele {
        padding-bottom: 1em;
    }
}
@media (max-width: 400px) {
    .m-tab-sec li{
        font-size: 15px;
    }
}